﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSpotItemVMs
{
    public partial class EquipmentSpotItemBatchVM : BaseBatchVM<EquipmentSpotItem, EquipmentSpotItem_BatchEdit>
    {
        public EquipmentSpotItemBatchVM()
        {
            ListVM = new EquipmentSpotItemListVM();
            LinkedVM = new EquipmentSpotItem_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EquipmentSpotItem_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EquipmentSpotItem._Template")]
        public long? TemplateId { get; set; }
        [Display(Name = "_Model._EquipmentSpotItem._SpotType")]
        public SpotTypeEnum? SpotType { get; set; }
        [Display(Name = "_Model._EquipmentSpotItem._Content")]
        public string Content { get; set; }
        [Display(Name = "_Model._EquipmentSpotItem._Active")]
        public bool? Active { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}